package com.jiyun.service.impl;

import com.jiyun.mapper.ThOrderMapper;
import com.jiyun.pojo.ThOrder;
import com.jiyun.service.IThOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author usian
 * @since 2022-10-25
 */
@Service
public class ThOrderServiceImpl extends ServiceImpl<ThOrderMapper, ThOrder> implements IThOrderService {

    @Autowired
    private ThOrderMapper thOrderMapper;

    @Override
    public List<ThOrder> orderByDESC() {
        return   thOrderMapper.orderByDesc();
    }
}
